package com.zzzy.cont.vo.contract;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ConActivityNoteAddReq {

    @Schema(description = "合同ID")
    @NotNull(message = "合同ID不能为空")
    private Long id;

    @Schema(description = "合同动态内容")
    @Length(max = 1024, message = "合同动态内容不能超过1024个字符")
    @NotBlank(message = "合同动态内容为空")
    private String content;
}
